package com.ym.medical.service;

import com.github.pagehelper.PageInfo;
import com.ym.medical.domain.entity.SymptomDeptEntity;
import com.ym.medical.domain.param.SymptomDeptParam;

import java.util.List;

public interface IBaseDataSV {
    SymptomDeptEntity insertSymptomDept(SymptomDeptParam symptomDept);

    SymptomDeptEntity updateSymptomDept(SymptomDeptParam symptomDept);


    PageInfo<SymptomDeptEntity> listSymptomDept(SymptomDeptParam symptomDept, int pageNum, int pageSize);

    void deleteSymptomDept(List<Long> ids);

    /**
     * 公共方法抽取
     * @param t
     * @param <T>
     */
    <T> void setStandardDept(T t);

}
